using System.Collections.Generic;
using System.Linq;
using UnityEngine;

[CreateAssetMenu(fileName = "Effect32-给目标设置烬灭先锋的debuff", menuName = "Skill/Effect/Effect32-给目标设置烬灭先锋的debuff", order = 32)]
public class Effect32 : EffectBase
{
    public override void Apply(Pair pair, GameEvent e, List<Chess> targets)
    {
        if(targets == null || targets.Count == 0) return;

        foreach (var target in targets)
        {
            target.ChessDetail.EmberVanguard = true;
        }
    }
}